SpeedyCache\Cache D

Total Complexity 367
Dependencies 7
Dependents 3
Total lines 1,240
Lines of code 884
Logical lines of code 576
Comment lines 72
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
callback()
D
23
54 148
allowed()
D
29 53 93
create_dir()
D
30 46 88
set_file_path()
C
40 27 52
exclude_page()
B
41 24 50
is_cacheable()
B
40 23 54
create()
B
43 17 44
can_create()
A
50 15 27
ignored()
A
45 10 42
detect_current_page_type()
A
52 10 26
is_amp()
A
51 10 26
is_wptouch_smartphone()
A
51 10 24
cache_date()
S
60 7 11
fix_pre_tag()
S
54 6 20
remove_url_params()
S
55 6 19
set_content_type()
S
55 6 19
set_cdn()
S
52 5 25
last_error()
S
63 5 11
init()
S
53 4 23
check_html()
S
63 5 10
is_wp_login()
S
65 5 8
is_password_protected()
S
63 4 11
cdn_rewrite()
S
57 3 18
disable_emojis()
S
60 3 12
is_commenter()
S
74 3 4
create_name()
S
63 3 9
set_exclude_rules()
S
68 2 7
print_scripts_action()
S
82 1 3